<?php

namespace catchAdmin\phone\model;

class UserNeed extends \catchAdmin\model\UserNeed
{

    public function saveData($param)
    {
        $this->startTrans();

        $this->saveDataCC([
            'wechat_user_id' => $this->getLoginId(),
            'title'          => $param['title'],
            'content'        => $param['content'],
            'type'           => $param['type'],
        ]);

        $this->commit();

        return $param;
    }

    ######################################## 显示 ################################################

}
